
<{if $detail.status == 0}>

    <{if $userJoinedTuan}>
        <{if $detail.tuanMasterUid == $global_user.userUid}>
            <header class="group-buy-header">
                <p class="title-wrap">
                    开团成功
                </p>
                <p class="text">快去邀请好友加入吧</p>
            </header>
        <{else}>
            <header class="group-buy-header">
                <p class="title-wrap">
                    团购成功
                </p>
                <p class="text">欢迎团购其他商品</p>
            </header>
        <{/if}>
    <{else}>
        <header class="group-buy-header">
            <p class="title-wrap">
                快来入团吧
            </p>
            <p class="text">就差你了</p>
        </header>
    <{/if}>

<{elseif $detail.status == 1}>

    <header class="group-buy-header">
        <p class="title-wrap">
            团购已成功
        </p>
        <p class="text">恭喜恭喜</p>
    </header>

<{elseif $detail.status == 2}>

    <header class="group-buy-header">
        <p class="title-wrap">
            团购已失败
        </p>
        <p class="text">请重新开始</p>
    </header>

<{/if}>
